var common = require('../common');
var store = common.store;
var getFile = common.getFile;
var data = {
  "result": "success",
  "messages": [],
  "fieldErrors": {},
  "errors": [],
  "data": {

  }
};
var data1 = {
  "result": "success",
  "messages": [],
  "fieldErrors": {},
  "errors": [],
  "data": false
};
module.exports = {
  // mock 请求
  "get /admin/km/stat.do": function(req, res) {
    res.send({
      "result": "success",
      "messages": [],
      "fieldErrors": {},
      "errors": [],
      "data": {
        totalCount: 3, //总页数
        pageNo: 1, //当前页
        pageSize: 10, //每页显示的条数,
        listData: [{ //列表数据
          docCreateTime: "2014-07-01 12:30:30",
          visitNum: "999", //浏览量
          visitKmNum: "100", //浏览知识总数
          reprintNum: "999", //转发总数
          addNum: "100", //新增知识量
          focusNum: "200" //关注知识总量

        }, { //列表数据
          docCreateTime: "2014-07-01 12:30:30",
          visitNum: "999", //浏览量
          visitKmNum: "100", //浏览知识总数
          reprintNum: "999", //转发总数
          addNum: "100", //新增知识量
          focusNum: "200" //关注知识总量

        }, { //列表数据
          docCreateTime: "2014-07-01 12:30:30",
          visitNum: "999", //浏览量
          visitKmNum: "100", //浏览知识总数
          reprintNum: "999", //转发总数
          addNum: "100", //新增知识量
          focusNum: "200" //关注知识总量

        }]
      }
    });
  }

};
